<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<jsp:include page="../common/EditUIHead.jsp"></jsp:include>
	<title>订餐</title>
</head>
<body>
	<div id="main">
		<div position="center" style="width:420px">
			<form id="dataForm" action="${base }/meal/record/save" method="post">
		  		<input type="hidden" id="dataId" name="id" value="${(data.id)}"/>
		    	<div>
		        	<table border="0" cellpadding="0" cellspacing="0" class="table_noborder table_line24">
		            	<tr>
		                    <td width="60px"><span style="color:red">*</span>点餐人：</td>
		                    <td>
		                    	<div class="f7" id="mealPerson" dataPickerUrl="${base}/framework/dataPicker/list?query=mealPersonQuery" width="550px" height="410px" title="人员" >
			                		<input dataPicker="value"  name="mealPerson.id" value="${data.mealPerson.id}" id="mealPerson.id" type="hidden" readOnly="readOnly" />
			                		<input dataPicker="name" ondblclick="openDataPicker('mealPerson')" value="${data.mealPerson.name}" name="mealPerson.name" id="mealPerson.name" type="text"/>
				        			<strong onclick="clearDataPicker('mealPerson')"></strong>
				        			<span class="p_hov" onclick="openDataPicker('mealPerson')"></span>
				        		</div>
		                    </td>
		                </tr>
		                <tr>
		                    <td width="60px"><span style="color:red">*</span>餐点：</td>
		                    <td>
		                    	<div class="f7" id="mealTime" dataPickerUrl="${base}/framework/dataPicker/list?query=mealTimeQuery&enable=1" width="550px" height="410px" title="餐点" >
			                		<input dataPicker="value"  name="mealTime.id" value="${data.mealTime.id}" id="mealTime.id" type="hidden" readOnly="readOnly" />
			                		<input dataPicker="name" ondblclick="openDataPicker('mealTime')" value="${data.mealTime.name}" name="mealTime.name" id="mealTime.name" type="text"/>
				        			<strong onclick="clearDataPicker('mealTime')"></strong>
				        			<span class="p_hov" onclick="openDataPicker('mealTime')"></span>
				        		</div>
		                    </td>
		                </tr>
		                <tr>
		                    <td width="60px"><span style="color:red">*</span>菜式：</td>
		                    <td>
		                    	<div class="f7" id="dishes" dataPickerUrl="${base}/framework/dataPicker/list?query=dishesQuery&enable=1" width="550px" height="410px" title="菜式" >
			                		<input dataPicker="value"  name="dishes.id" value="${data.dishes.id}" id="dishes.id" type="hidden" readOnly="readOnly" />
			                		<input dataPicker="name" ondblclick="openDataPicker('dishes')" value="${data.dishes.name}" name="dishes.name" id="dishes.name" type="text"/>
				        			<strong onclick="clearDataPicker('dishes')"></strong>
				        			<span class="p_hov" onclick="openDataPicker('dishes')"></span>
				        		</div>
		                    </td>
		                </tr>
		        	</table>
				</div>
			</form>
		</div>
	</div>
</body>
</html>